package forum.client.ui.events;

import forum.client.ui.UsersListHandlerInt;

public class UsersListPromotionEvent implements UsersListEvent{

	String[] usersToDemote;
	public UsersListPromotionEvent(String[] users){
		usersToDemote=users;
	}
	@Override
	public EventType getType() {
		return EventType.PROMOTION;
	}

	@Override
	public void respondToEvent(UsersListHandlerInt handler) {
		handler.promoteUsers(usersToDemote);

	}

}
